package cn.fbs.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @author yuyuesheng
 * @version 1.0
 * @description: TODO
 * @date 2021/2/3 17:09
 */
@Api("图像基本详情")
@Data
public class TImageItemVo {

    /**
     * id
     */
    @ApiModelProperty(value = "id", example = "1")
    private Long id;

    /**
     * 文件名称
     */
    @ApiModelProperty(value = "文件名称")
    private String fileName;

    /**
     * 文件保存链接
     */
    @ApiModelProperty(value = "文件保存链接")
    private String fileUrl;

    /**
     * 拍摄时间
     */
    @ApiModelProperty(value = "拍摄时间")
    @JsonFormat(pattern = "yyyy/MM/dd HH:mm:ss", timezone = "GMT+8")
    private Date shotDate;

    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy/MM/dd HH:mm:ss", timezone = "GMT+8")
    private Date createDate;

    /**
     * 图像来源
     */
    @ApiModelProperty(value = "图像来源")
    private String source;

    /**
     * 文件大小
     */
    @ApiModelProperty(value = "文件大小", example = "1")
    private Integer fileSize;

    /**
     * 文件类型jpg,png,mp4
     */
    @ApiModelProperty(value = "文件类型jpg,png,mp4")
    private String fileType;

    /**
     * 操作人
     */
    @ApiModelProperty(value = "操作人")
    private String operator;

    /**
     * 修改时间
     */
    @ApiModelProperty(value = "修改时间")
    @JsonFormat(pattern = "yyyy/MM/dd HH:mm:ss", timezone = "GMT+8")
    private Date updateDate;

    /**
     * 图片尺寸
     */
    @ApiModelProperty(value = "图片尺寸")
    private String imageSize;

    /**
     * 上传文件名称
     */
    @ApiModelProperty(value = "上传文件名称")
    private String uploadFileName;

    /**
     * 拍摄平台外键
     */
    @ApiModelProperty(value = "拍摄平台外键", example = "1")
    private Long platformId;

    /**
     * 传感器类型外键
     */
    @ApiModelProperty(value = "传感器类型外键", example = "1")
    private Long sensorId;

//    /**
//     * 目标类型 关联目标表 外键
//     */
//    @ApiModelProperty(value = "目标类型 关联目标表 外键",example = "1")
//    private Integer targetType;

    @ApiModelProperty(value = "目标序号")
    private String targetType;
    /**
     * 浏览量
     */
    @ApiModelProperty(value = "浏览量", example = "1")
    private Long viewNumber;

    /**
     * 下载量
     */
    @ApiModelProperty(value = "下载量", example = "1")
    private Long downloads;

    /**
     * 描述
     */
    @ApiModelProperty(value = "描述")
    private String memo;

    /**
     * 0素材 1产品
     */
    @ApiModelProperty(value = "0素材 1产品", example = "1")
    private Byte isProduct;

    /**
     * 是否审核 1否，2是
     */
    @ApiModelProperty(value = "是否审核 1否，2是", example = "1")
    private Integer isExamine;

    /**
     * 缩略图
     */
    @ApiModelProperty(value = "缩略图")
    private String thumbnail;

    @ApiModelProperty(value = "拍摄平台")
    private String shotPlatform;

    @ApiModelProperty(value = "传感器类型")
    private String sensorType;

}
